function getHttpObject() {
    if(typeof XMLHttpRequest == 'undefined') {
        XMLHttpRequest = function() {
            try { return new ActiveXObject("Msxmml");}
             catch(e) {}
             try { return new XMLHttpRequest()}
             catch(e){};
             return new XMLHttpRequest();
        }
    }
}